package middle_man;

import java.io.PrintWriter;

public class Request {

	private int clientID;
	private String sqlQuery;
	private PrintWriter writer;
	private ClientHandler ch;
	
	public Request(int _clientID, String _sqlQuery, PrintWriter _writer, ClientHandler _ch){
		clientID = _clientID;
		sqlQuery = _sqlQuery;
		writer = _writer;
		ch = _ch;
	}
	
	public ClientHandler getClientHandler() { 
		return this.ch;
	}
	
	public int getClientID(){
		return clientID;
	}
	
	public String getSqlQuery(){
		return sqlQuery;
	}
	
	public PrintWriter getWriter(){
		return writer;
	}
}
